<template>
	<u-tabbar :icon-size="50" :list="tabbarList" :mid-button="true" active-color="#0052d9" inactive-color="#AAAAAA"></u-tabbar>
</template>
<script>
export default {
	data() {
		return {
			tabbarList: []
		};
	},
	created() {
		this.tabbarList = [
			{
				iconPath: this.getStaticFilePath('tab-sy-h.png'),
				selectedIconPath: this.getStaticFilePath('tab-sy-s.png'),
				text: '首页',
				customIcon: false,
				pagePath: '/pages/home/index',
				aliasPath: '/home'
			},
			{
				iconPath: this.getStaticFilePath('tab-tj.png'),
				selectedIconPath: this.getStaticFilePath('tab-tj.png'),
				text: '发布信息',
				midButton: true,
				customIcon: false,
				pagePath: '/pages/postMessage/index',
				aliasPath: '/postMessage'
			},
			{
				iconPath: this.getStaticFilePath('tab-jygl-h.png'),
				selectedIconPath: this.getStaticFilePath('tab-jjgl-s.png'),
				text: '经营管理',
				customIcon: false,
				pagePath: '/pages/infoManagement/index',
				aliasPath: '/infoManagement'
			}
		];
	}
};
</script>